/*
 * 版本：4.0
 * 时间：2012-2-22
 * 作者：http://www.foxuc.com
 *
 * 描述：实体类
 *
 */

using System;
using System.Collections.Generic;

namespace Game.Entity.GameScore
{
	/// <summary>
	/// 实体类 RecordDrawScore。(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class RecordDrawScore  
	{
		#region 常量

		/// <summary>
		/// 表名
		/// </summary>
		public const string Tablename = "RecordDrawScore" ;

		/// <summary>
		/// 局数标识
		/// </summary>
		public const string _DrawID = "DrawID" ;

		/// <summary>
		/// 用户标识
		/// </summary>
		public const string _UserID = "UserID" ;

		/// <summary>
		/// 用户成绩
		/// </summary>
		public const string _Score = "Score" ;

		/// <summary>
		/// 用户积分
		/// </summary>
		public const string _Grade = "Grade" ;

		/// <summary>
		/// 税收数目
		/// </summary>
		public const string _Revenue = "Revenue" ;

		/// <summary>
		/// 赠送数目
		/// </summary>
		public const string _Present = "Present" ;

		/// <summary>
		/// 用户奖牌
		/// </summary>
		public const string _UserMedal = "UserMedal" ;

		/// <summary>
		/// 插入时间
		/// </summary>
		public const string _InsertTime = "InsertTime" ;
		#endregion

		#region 私有变量
		private int m_drawID;					//局数标识
		private int m_userID;					//用户标识
		private long m_score;					//用户成绩
		private long m_grade;					//用户积分
		private long m_revenue;					//税收数目
		private long m_present;					//赠送数目
		private int m_userMedal;				//用户奖牌
		private DateTime m_insertTime;			//插入时间
		#endregion

		#region 构造方法

		/// <summary>
		/// 初始化RecordDrawScore
		/// </summary>
		public RecordDrawScore()
		{
			m_drawID=0;
			m_userID=0;
			m_score=0;
			m_grade=0;
			m_revenue=0;
			m_present=0;
			m_userMedal=0;
			m_insertTime=DateTime.Now;
		}

		#endregion

		#region 公共属性

		/// <summary>
		/// 局数标识
		/// </summary>
		public int DrawID
		{
			get { return m_drawID; }
			set { m_drawID = value; }
		}

		/// <summary>
		/// 用户标识
		/// </summary>
		public int UserID
		{
			get { return m_userID; }
			set { m_userID = value; }
		}

		/// <summary>
		/// 用户成绩
		/// </summary>
		public long Score
		{
			get { return m_score; }
			set { m_score = value; }
		}

		/// <summary>
		/// 用户积分
		/// </summary>
		public long Grade
		{
			get { return m_grade; }
			set { m_grade = value; }
		}

		/// <summary>
		/// 税收数目
		/// </summary>
		public long Revenue
		{
			get { return m_revenue; }
			set { m_revenue = value; }
		}

		/// <summary>
		/// 赠送数目
		/// </summary>
		public long Present
		{
			get { return m_present; }
			set { m_present = value; }
		}

		/// <summary>
		/// 用户奖牌
		/// </summary>
		public int UserMedal
		{
			get { return m_userMedal; }
			set { m_userMedal = value; }
		}

		/// <summary>
		/// 插入时间
		/// </summary>
		public DateTime InsertTime
		{
			get { return m_insertTime; }
			set { m_insertTime = value; }
		}
		#endregion
	}
}
